package interfejs;

import java.awt.BorderLayout;
import java.awt.Dimension;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import viewModel.FixTableModel;



public class FixPanel extends JPanel {

	JTable fixTable;
	public FixPanel(){
		 super(new BorderLayout());
			fixTable = new JTable(new FixTableModel());		
			fixTable.setPreferredScrollableViewportSize(new Dimension(fixTable.getWidth(), 100));
			fixTable.setFillsViewportHeight(true);
			
			JScrollPane scrollPane = new JScrollPane(fixTable);
			add(scrollPane, BorderLayout.CENTER);		
			}   
	
}

